package com.it.vodtest;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.exceptions.ClientException;
import com.aliyuncs.profile.DefaultProfile;

public class InitObject {
    public static DefaultAcsClient initVodClient(String accessKeyId , String accessKeySecret) throws ClientException {
        String regionId="cn-shanghai";
        DefaultProfile profile= DefaultProfile.getProfile(regionId,accessKeyId,accessKeySecret);
        DefaultAcsClient client =new DefaultAcsClient(profile);
        return client;


    }
}
